#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
//int main()
//{
//	char arr[] = "hello world";
//	memset(arr, 'x', 6);
//	printf("%s\n", arr);
//	return 0;
//}

int main()
{
	char arr1[] = "abcdef";
	char arr2[] = "abcfgh";

	int ret = 0;
	ret = memcmp(arr1, arr2, 4);
	printf("%d\n", ret);
	return 0;
}